package com.sl.biz.modular.process.dao.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Lob;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("process_comp_version_build")
@Entity(name = "process_comp_version_build")
public class ProcessCompVersionBuildDO extends CommonOrgEntity {

    /**
     * 组件版本
     */
    @Column
    private String compCode;

    /**
     * 组件版本
     */
    @Column
    private String compVersion;

    /**
     * 执行ID
     */
    @Column
    private String runnerId;


    /**
     * 构建状态 1.构建中 2.构建完成 3.构建失败
     */
    @Column
    private Integer buildStatus;

    /**
     * 构建开始日期
     */
    @Column
    private Date buildStartDate;
    /**
     * 构建结束日期
     */
    @Column
    private Date buildEndDate;

    /**
     * 构建文本
     */
    @Lob
    @Column(length = 65_535)
    private String buildContent;
}
